package 模板方法模式.HookTea;

public class TeaWithHook extends CaffeineBeverageWithHook {

    @Override
    void brew() {
        System.out.println("Steeping the tea");

    }

    @Override
    void addCondiments() {
        System.out.println("Adding Lemon");

    }
    
    @Override
    boolean customerWantsCondiments() {
        System.out.println("TeaWithHook do nothing");
        return super.customerWantsCondiments();
    }

}
